<template>
	<view>
		<view @click="toClick" class="adImageView" style="margin: 30rpx;">
			<image class="adImage" :src="url"  mode=""></image>			<view class="seeBtn mainBgColor zsConter">			    点击去寄快递			</view>
		</view>		<view class="" style="height: 30rpx;">					</view>
	</view>
</template>

<script>
	export default {
		name: "express-ad-view",
		data() {
			return {
				url: 'https://mp-35bd1c1b-8095-44b6-b494-c65e6d85fd9c.cdn.bspapp.com/appConfigure/寄快递2.jpg'
			};
		},
		methods: {
			toClick() {
				wx.navigateToMiniProgram({
					appId: 'wx85c48692229632a3',
					success: function(res) {
						console.log("跳转成功")
					},
					fail: function(err) {
						console.log("跳转失败", err)
					},
					complete: function() {
						console.log("跳转完成")
					}
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.adImageView {		height: 130px;
		border-radius: 8px;
		overflow: hidden;		position: relative;
	}	.adImage{		width:100%;		height:100%;				border-radius: 8px;		overflow: hidden;	}		.seeBtn {		position: absolute;		bottom: 30rpx;		right: 20rpx;		color: white;		border-radius: 20rpx;				padding: 6rpx 18rpx;		box-shadow: 0rpx 0rpx 20rpx rgb(52, 116, 246);	}
</style>